/*
 *  Arrow
 *
 *  Created by David Giovannini on 1/5/07.
 *  Copyright 2007 Software by Jove. All rights reserved.
 *
 */
 
#ifndef SBJ_Thread_ComInitializer_h
#define SBJ_Thread_ComInitializer_h

namespace SBJ
{
/*
Class: ComInitializer

On Windows, if a thread makes com calls, it MUST call
the Windows API to initialize the thread specific storage
for COM.

Any service that creates a pool of threads used to execute
client code, should create a ComInitializer on thread creation.
The service cannot know if client implementation will or will
not make a com call.
*/

class ComInitializer
{
public:
  ComInitializer( void );

  ~ComInitializer( void );
};

} // SBJ

#endif